package com.workManager.service;

import com.workManager.mapper.TdAuthorityMapper;
import com.workManager.pojo.TdAuthority;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Thinkpad on 2017/5/10 0010.
 */
@Service
public class AuthorityServiceImpl implements AuthorityService {


    @Autowired
    private TdAuthorityMapper authorityMapper;

    public List<TdAuthority> query(Map map) {
        return authorityMapper.query(map);
    }
}
